package com.example.library_base.util

import android.util.Log
import com.example.library_base.BuildConfig

object LogUtil {
    fun debug(tag: String, msg: String){
        if (BuildConfig.DEBUG){
            Log.d(tag, msg)
        }
    }

    fun error(tag: String, msg: String?, throwable: Throwable?){
        Log.e(tag, msg, throwable)
    }
}